MediaOptions

data class MediaOptions(videoDevice: VideoDevice?, audioDevice: AudioDevice?, turnVideoOn: Boolean, turnAudioOn: Boolean, videoQualityConstraints: VideoQualityConstraints?)

A class that provides media options that can be set when establishing a media stream for a live event.

Since

1.0.0

Constructors

Link copied to clipboard
fun MediaOptions(videoDevice: VideoDevice? = null, audioDevice: AudioDevice? = null, turnVideoOn: Boolean = true, turnAudioOn: Boolean = true, videoQualityConstraints: VideoQualityConstraints? = null)

Properties

Link copied to clipboard
var audioDevice: AudioDevice? = null

Audio device used to stream audio for the live event.

Link copied to clipboard
var turnAudioOn: Boolean = true

Indicates whether to turn on audio when the media streaming of host starts.

Link copied to clipboard
var turnVideoOn: Boolean = true

Indicates whether to turn on video when the media streaming of host starts.

Link copied to clipboard
var videoDevice: VideoDevice? = null

Video device used to stream video for the live event.

Link copied to clipboard
var videoQualityConstraints: VideoQualityConstraints? = null